home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4247 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: inforamp.net!ts44-07
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: urgent help needed
  5. Date: Fri, 02 Feb 96 18:40:21 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4etlgn$7s1@sam.inforamp.net>
  8. References: <4ehlp6$m42@otis.netspace.net.au>
  9. NNTP-Posting-Host: ts44-07.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4ehlp6$m42@otis.netspace.net.au>,
  13.    randy@netspace.net.au (Patrick Liang) wrote:
  14. >I am currently doing a program to convert the serial number which
  15. >representing the seconds elapsed between midnight 01/01/1970 and now,  
  16. >to today's day and time.   Such as you enter :822819600   it will convert
  17. >to '28/01/1996 20:00:00'
  18. >
  19. >I will be glad that it will be in Visual Basic format, or C.   but others
  20. >will do.  Thanks in advance.
  21. >
  22. >
  23. >Patrick
  24. >
  25. >PO Box 12020
  26. >A'beckett St 
  27. >Melbourne Vic 3000
  28. >Australia
  29. >
  30. >PH:  61-3-93870912
  31. >Fax: 61-3-93870912
  32. >
  33.  
  34. Do you have the standard C function strftime.
  35. I believe this function will do what you want.
  36.  
  37. Agrivar
  38.